package com.mybatis;

public class User {
	private int userId;
	private String userName;
	private int userage;
			
	public User() {
		super();
	}

	public User(int userId, String userName, int userage, String userAddress) {
		super();
		this.userId = userId;
		this.userName = userName;
		this.userage = userage;
		this.userAddress = userAddress;
	}

	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public int getUserage() {
		return userage;
	}

	public void setUserage(int userage) {
		this.userage = userage;
	}

	public String getUserAddress() {
		return userAddress;
	}

	public void setUserAddress(String userAddress) {
		this.userAddress = userAddress;
	}

	private String userAddress;

	@Override
	public String toString() {
		return "User{" +
				"userId=" + userId +
				", userName='" + userName + '\'' +
				", userage=" + userage +
				", userAddress='" + userAddress + '\'' +
				'}';
	}
}